package com.infore.airsupervise.bean;

import java.util.List;

/**
 * 实时调度-综合指数实体类
 * <p>
 * 作者: dingxinlin
 * 创建日期: 2017/8/22 15:49
 */

public class DispatchSynthesisE extends BaseEntity {


    /**
     * dataList : []
     * mn : 66666660001002
     * stationName : ä¸­è¾åè£/å®¿èæ¥¼é¡¶
     */

    private String mn;
    private String stationName;
    private List<SynthesisBean> dataList;

    public String getMn() {
        return mn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public List<SynthesisBean> getDataList() {
        return dataList;
    }

    public void setDataList(List<SynthesisBean> dataList) {
        this.dataList = dataList;
    }

    public static class SynthesisBean {
        /**
         * API : {"index":2.9410000000000003,"value":87}
         * PM25 : {"index":0.629,"value":22}
         * speedDir : 306
         * time : 11:55
         * humidity : 41
         * PM10 : {"index":0.714,"value":50}
         * SO2 : {"index":0.317,"value":19}
         * speed : 1
         * NO2 : {"index":-0.15,"value":-6}
         * CO : {"index":0.25,"value":1}
         * O3 : {"index":1.181,"value":189}
         */

        private APIBean API;
        private PM25Bean PM25;
        private float speedDir;
        private String time;
        private float humidity;
        private PM10Bean PM10;
        private SO2Bean SO2;
        private float speed;
        private NO2Bean NO2;
        private COBean CO;
        private O3Bean O3;

        public APIBean getAPI() {
            if (API == null) {
                API = new APIBean();
            }
            return API;
        }

        public void setAPI(APIBean API) {
            this.API = API;
        }

        public PM25Bean getPM25() {
            if (PM25 == null) {
                PM25 = new PM25Bean();
            }
            return PM25;
        }

        public void setPM25(PM25Bean PM25) {
            this.PM25 = PM25;
        }

        public float getSpeedDir() {
            return speedDir;
        }

        public void setSpeedDir(float speedDir) {
            this.speedDir = speedDir;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public float getHumidity() {
            return humidity;
        }

        public void setHumidity(float humidity) {
            this.humidity = humidity;
        }

        public PM10Bean getPM10() {
            if (PM10 == null) {
                PM10 = new PM10Bean();
            }
            return PM10;
        }

        public void setPM10(PM10Bean PM10) {
            this.PM10 = PM10;
        }

        public SO2Bean getSO2() {
            if (SO2 == null) {
                SO2 = new SO2Bean();
            }
            return SO2;
        }

        public void setSO2(SO2Bean SO2) {
            this.SO2 = SO2;
        }

        public float getSpeed() {
            return speed;
        }

        public void setSpeed(float speed) {
            this.speed = speed;
        }

        public NO2Bean getNO2() {
            if (NO2 == null) {
                NO2 = new NO2Bean();
            }
            return NO2;
        }

        public void setNO2(NO2Bean NO2) {
            this.NO2 = NO2;
        }

        public COBean getCO() {
            if (CO == null) {
                CO = new COBean();
            }
            return CO;
        }

        public void setCO(COBean CO) {
            this.CO = CO;
        }

        public O3Bean getO3() {
            if (O3 == null) {
                O3 = new O3Bean();
            }
            return O3;
        }

        public void setO3(O3Bean O3) {
            this.O3 = O3;
        }

        public static class APIBean {
            /**
             * index : 2.9410000000000003
             * value : 87
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }

        public static class PM25Bean {
            /**
             * index : 0.629
             * value : 22
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }

        public static class PM10Bean {
            /**
             * index : 0.714
             * value : 50
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }

        public static class SO2Bean {
            /**
             * index : 0.317
             * value : 19
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }

        public static class NO2Bean {
            /**
             * index : -0.15
             * value : -6
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }

        public static class COBean {
            /**
             * index : 0.25
             * value : 1
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }

        public static class O3Bean {
            /**
             * index : 1.181
             * value : 189
             */

            private float index;
            private float value;

            public float getIndex() {
                return index;
            }

            public void setIndex(float index) {
                this.index = index;
            }

            public float getValue() {
                return value;
            }

            public void setValue(float value) {
                this.value = value;
            }
        }
    }
}
